import request from './request'

export function getTimerList() {
  return request.get('/timers')
}

export function createTimer(data) {
  return request.post('/timers', data)
}

export function updateTimer(id, data) {
  return request.put(`/timers/${id}`, data)
}

export function deleteTimer(id) {
  return request.delete(`/timers/${id}`)
} 